#include <stdio.h>
#define SUM 100000

int main(){
    double donation, total = 0;
    int count = 0;
    for(int i = 1; i <= 1000; i++){
        printf("Input your donation...\n");
        scanf("%lf", &donation);
        total += donation;
        count++;
        if(total >= SUM){
            printf("The number of donor is %d\n", count);
            printf("The total of donation is %lf\n", total);
            break;
        }

    }

    return 0;

}